package com.ip.pojo.enums;


public enum ResponseCodeEnum {

    OK(200, "ok"),
    PARAM_ERROR(100, "param error"),
    LOGIN_ERROR(300, "login failed!"),
    LOGIN_TOKEN_FAILED(301, "get token error!");

    private int code;
    private String msg;

    ResponseCodeEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
